package com.qqtop10.manager.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qqtop10.manager.dao.AlipayBillMapper;
import com.qqtop10.manager.model.AlipayBill;
import com.qqtop10.manager.service.AlipayBillService;

/**
 * 记录支付宝与订单关联 Service impl
 * 
 * @author Jovi
 *
 */
@Service("alipayBillService")
public class AlipayBillServiceImpl implements AlipayBillService {

	@Autowired
	private AlipayBillMapper alipayBillMapper;

	@Override
	public int add(AlipayBill alipayBill) {
		return alipayBillMapper.add(alipayBill);
	}

	@Override
	public AlipayBill get(Integer id) {
		return alipayBillMapper.get(id);
	}

	@Override
	public String getOrderUuidByBatch_no(String batch_no) {
		return alipayBillMapper.getOrderUuidByBatch_no(batch_no);
	}

}
